package com.dailyblue.java.project.smbms.order.feign;

import com.dailyblue.java.commons.util.JsonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("user")
public interface UserFeign {
    @GetMapping("/user/check/{token}")
    JsonResult findUserIdByToken(@PathVariable("token") String token);
}
